package main 

/*
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct info{
	int age;
	char name[100];
}info;

void show(){
	printf("hi ,i am go ");
}
info getInfo(){

	info obj;
	obj.age=100;
	strcpy(obj.name,"i am bf");
	printf("%s\n",obj.name);
	return obj;
}
*/
import "C"
import (
	"fmt"
)

func main(){

	C.show()
	fmt.Println("nothing")
	var obj C.info = C.getInfo()
	fmt.Println(obj.age)
	fmt.Println(obj.name)
	var s string = string(obj.name)
	fmt.Printf("name=%v\n",s)
}